import request from '@/utils/request'

export function addBlog(params) {
  return request({
    url: process.env.WEB_API + '/blog/addBlog',
    method: 'post',
    data: params
  })
}

export function editBlog(params) {
  return request({
    url: process.env.WEB_API + '/blog/editBlog',
    method: 'post',
    data: params
  })
}
